home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
4_7.lha
/
4_7
/
makefile
< prev
Wrap
Makefile
|
1993-08-08
|
602b
|
30 lines
C= CC -I. -I../../CC
RROR= ../../error.o
FLAGS= -I. -g
ll: 4_7A 4_7B
_7A: 4_7A.h 4_7.c 4_7a.c 4_7b.c 4_7c.c 4_7d.c
$(CC) -I. -DTESTA 4_7.c -o 4_7A $(ERROR)
_7B: 4_7B.h 4_7.c 4_7b.c 4_7c.c 4_7d.c 4_7e.c
$(CC) -I. -DTESTB 4_7.c -o 4_7B $(ERROR)
MP= 4_7A.cmp 4_7B.cmp
UT= 4_7A.out 4_7B.out
_7A.out: 4_7A ; 4_7A > 4_7A.out
_7B.out: 4_7B ; 4_7B > 4_7B.out
est: all $(OUT) $(CMP)
cmp 4_7A.out 4_7A.cmp
cmp 4_7B.out 4_7B.cmp
echo tests done
4.7: o4.7a.o o4.7b.o o4.7m.o
$(CC) o4.7a.o o4.7b.o o4.7m.o ../ex/error.o -o o4.7 $(ERROR)
4.7a.o: o4.7a.c o4.7.h
4.7b.o: o4.7b.c o4.7.h
4.7m.o: o4.7m.c o4.7.h